function option1(indicator) {
    const option = {
        tooltip: {},
        legend: {
            data: ['（Allocated Budget）', '（Actual Spending）'],
            textStyle: {
                color: '#fff'
            },
            icon: 'path://M512 0c282.752 0 512 229.248 512 512s-229.248 512-512 512S0 794.752 0 512 229.248 0 512 0z m0 85.333333C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667S747.648 85.333333 512 85.333333z m0 213.333334a213.333333 213.333333 0 1 1 0 426.666666 213.333333 213.333333 0 0 1 0-426.666666z'
        },
        //color:['#cf7436','#2884ba'],
        radar: {
            // shape: 'circle',
            name: {
                textStyle: {
                    color: '#d1d2d2',
                }
            },
            axisLine: {
                show: false
            },
            splitLine: {
                lineStyle: {
                    color: ['#fff']
                }
            },
            splitArea: {
                show: false
            },
            indicator: indicator
        },
        series: [{
            name: '预算 vs 开销（Budget vs spending）',
            type: 'radar',
            // areaStyle: {normal: {}},
            data: [
                {
                    value: [4300, 10000, 28000, 35000, 50000, 19000],
                    name: '（Allocated Budget）',
                    symbol: 'none',
                    areaStyle: {
                        color: {
                            type: 'linear',
                            x: 0,
                            y: 0,
                            x2: 1,
                            y2: 0,
                            colorStops: [{
                                offset: 0,
                                color: '#cf7436'
                            }, {
                                offset: 1,
                                color: '#b63d26'
                            }]
                        }
                    },
                    lineStyle: {
                        width: 0
                    }
                },
                {
                    value: [2000, 6000, 28000, 31000, 42000, 21000],
                    name: '（Actual Spending）',
                    symbol: 'none',
                    areaStyle: {
                        color: {
                            type: 'linear',
                            x: 0,
                            y: 0,
                            x2: 1,
                            y2: 0,
                            colorStops: [{
                                offset: 0,
                                color: '#1e63af'
                            }, {
                                offset: 1,
                                color: '#2783b9'
                            }]
                        }
                    },
                    lineStyle: {
                        width: 0
                    }
                }
            ]
        }]
    };
    return option;
}
export default option1;